package zhai.docking.alipay.domain.base.alipay;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Created by 翟凤玺
 * @package zhai.docking.alipay.domain.base.alipay
 * @project-name zhai-docking-alipay
 * @description 基础-支付宝-三绑定 IoT设备绑定门店 入参
 * @create-datetime 2020/12/31 15:52
 */
@Data
public class BaseAlipayIotBindIn {

    @ApiModelProperty(value = "设备唯一识别标识,可选方式 [ID,SN]", required = true)
    @JSONField(name = "device_id_type")
    private String deviceIdType;

    @ApiModelProperty(value = "设备ID:device_id_type为ID时填写")
    @JSONField(name = "biz_tid")
    private String bizTid;

    @ApiModelProperty(value = "设备供应商ID:device_id_type 为SN时填写。需注意不同机型的供应商ID可能不同")
    @JSONField(name = "supplier_id")
    private String supplierId;

    @ApiModelProperty(value = "设备序列号:device_id_type 为SN时填写,需配合supplier_id使用")
    @JSONField(name = "device_sn")
    private String deviceSn;

    @ApiModelProperty(value = "商户类型:直连商户填写direct，间连商户填写indirect", required = true)
    @JSONField(name = "merchant_type")
    private String merchantType;


    @ApiModelProperty(value = "直连场景填写商户收单pid,间连场景填写smid绑定的pid（可通过代运营授权API获取）", required = true)
    @JSONField(name = "pid")
    private String pid;

    @ApiModelProperty(value = "直连场景不填，间连场景填写商户收单smid")
    @JSONField(name = "smid")
    private String smid;

    @ApiModelProperty(value = "商户pid名下的门店 ID,可通过门店管理API获取,需注意请勿使用smid创建门店ID", required = true)
    @JSONField(name = "shop_id")
    private String shopId;
}